package param.sell;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicrequest;

/**
 * 售票接口请求参数
 * 
 * @author ice
 * 
 */
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "sellrequest")
public class Sellrequest implements Serializable {

	private static final long serialVersionUID = 3160210962003385237L;

	private Publicrequest publicrequest;// 公共信息 Publicrequest
	private String departdate;// 发车日期 String
	private String schedulecode;// 班次代码 String
	private String orderno;// 订单ID String
	private String departtime;// 发车时间 String
	private String reachstationcode;// 到达站代码 String
	private int seatnum;// 座位数量 int
	private String seattype;// 座型
	private String eticket;// 是否电子票
	private String ordercustomername;// 订单旅客姓名
	private String ordersex;// 订单旅客性别
	private String ordercertificatetype;// 订单旅客证件类型
	private String ordercertificateno;// 订单证件号码
	private String orderphone;// 订单手机号码
	private String orderemail;// 订单订单邮箱
	private String equipmentproviders;
	private String seller;
	private String accountorgcode;
	private String canreturnmoneyback;
	private String ticketoutlets;
	private String sellway;
	private String paymethod;
	private String instation;
	public String getSellway() {
		return sellway;
	}

	public void setSellway(String sellway) {
		this.sellway = sellway;
	}

	public String getPaymethod() {
		return paymethod;
	}

	public void setPaymethod(String paymethod) {
		this.paymethod = paymethod;
	}

	public String getEquipmentproviders() {
		return equipmentproviders;
	}

	public void setEquipmentproviders(String equipmentproviders) {
		this.equipmentproviders = equipmentproviders;
	}

	public String getSeller() {
		return seller;
	}

	public void setSeller(String seller) {
		this.seller = seller;
	}

	public String getAccountorgcode() {
		return accountorgcode;
	}

	public void setAccountorgcode(String accountorgcode) {
		this.accountorgcode = accountorgcode;
	}

	public String getCanreturnmoneyback() {
		return canreturnmoneyback;
	}

	public void setCanreturnmoneyback(String canreturnmoneyback) {
		this.canreturnmoneyback = canreturnmoneyback;
	}

	public String getTicketoutlets() {
		return ticketoutlets;
	}

	public void setTicketoutlets(String ticketoutlets) {
		this.ticketoutlets = ticketoutlets;
	}

	public String getEticket() {
		return eticket;
	}

	public void setEticket(String eticket) {
		this.eticket = eticket;
	}

	private List<SellticketIn> tickets;// 明细 List<Ticket>

	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	public String getDepartdate() {
		return departdate;
	}

	public void setDepartdate(String departdate) {
		this.departdate = departdate;
	}

	public String getSchedulecode() {
		return schedulecode;
	}

	public void setSchedulecode(String schedulecode) {
		this.schedulecode = schedulecode;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getDeparttime() {
		return departtime;
	}

	public void setDeparttime(String departtime) {
		this.departtime = departtime;
	}

	public String getReachstationcode() {
		return reachstationcode;
	}

	public void setReachstationcode(String reachstationcode) {
		this.reachstationcode = reachstationcode;
	}

	public int getSeatnum() {
		return seatnum;
	}

	public void setSeatnum(int seatnum) {
		this.seatnum = seatnum;
	}

	public List<SellticketIn> getTickets() {
		return tickets;
	}

	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public void setTickets(List<SellticketIn> tickets) {
		this.tickets = tickets;
	}

	public String getSeattype() {
		return seattype;
	}

	public void setSeattype(String seattype) {
		this.seattype = seattype;
	}

	public String getOrdercustomername() {
		return ordercustomername;
	}

	public void setOrdercustomername(String ordercustomername) {
		this.ordercustomername = ordercustomername;
	}

	public String getOrdersex() {
		return ordersex;
	}

	public void setOrdersex(String ordersex) {
		this.ordersex = ordersex;
	}

	public String getOrdercertificatetype() {
		return ordercertificatetype;
	}

	public void setOrdercertificatetype(String ordercertificatetype) {
		this.ordercertificatetype = ordercertificatetype;
	}

	public String getOrdercertificateno() {
		return ordercertificateno;
	}

	public void setOrdercertificateno(String ordercertificateno) {
		this.ordercertificateno = ordercertificateno;
	}

	public String getOrderphone() {
		return orderphone;
	}

	public void setOrderphone(String orderphone) {
		this.orderphone = orderphone;
	}

	public String getOrderemail() {
		return orderemail;
	}

	public void setOrderemail(String orderemail) {
		this.orderemail = orderemail;
	}

	public String getInstation() {
		return instation;
	}

	public void setInstation(String instation) {
		this.instation = instation;
	}
	

}
